Problems with "Packages cannot be nested"

Howdy,

This week we’ve made the shift from AS2 to AS3 and I keep finding awkward migration issues. I made a slight change to one of my components and I’ve started to receive the “Packages cannot be nested”.

My component works like this, in the main timeline the file is included.
include “galleryManager.as”

The inside of the class looks like
package {
import flash.display.MovieClip;

public class galleryManager extends MovieClip {
public function galleryManager(){

}}}

I’m not sure what I’m doing wrong. Any help would be greatly appreciated.