Fixed code conventions

Also added DynamicActor.