Fixed autoloading
Fixed mapping to allow empty staticPrefix and variablePattern